package com.hksj.vcm.query;

import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.NotBlank;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

@Data
public class VavChartQuery implements Serializable {
    @NotBlank(message = "设备id不能为空")
    @ApiModelProperty("房间id")
    private String roomId;

    @ApiModelProperty("周期 1 = 最近24小时 2 = 最近7天 3 = 最近30天 4 = 最近一年")
    private Integer type;

    @JsonIgnore
    @ApiModelProperty(value = "查询的属性列表",example = "['Paifl','Songfl','Kongqyl']")
    private List<String> propertyList;
}
